﻿namespace SanQiOther.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class v_member
    {
        [Key]
        [Column(Order = 0)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]

        [Display(Name = "ID")]
        public int id { get; set; }

        [StringLength(10)]
        [Display(Name = "工号")]
        public string bh { get; set; }

        [StringLength(50)]
        [Display(Name = "姓名")]
        public string name { get; set; }

        public int? dept { get; set; }

        [StringLength(50)]
        [Display(Name = "岗位")]
        public string position { get; set; }

        public int? team { get; set; }

        public int? lastyear { get; set; }

        public int? lastmonth { get; set; }

        public bool? isUsing { get; set; }

        public bool? isKq { get; set; }

        [StringLength(50)]
        [Display(Name = "部门")]
        public string deptmc { get; set; }

        [StringLength(50)]
        public string mc { get; set; }

        public int? sw { get; set; }

        public int? xw { get; set; }

        public int? ws { get; set; }

        [Key]
        [Column(Order = 1)]
        public bool issuper { get; set; }

        public string bz { get; set; }

        public bool? isls { get; set; }

        [Column(TypeName = "date")]
        [Display(Name = "入职时间")]
        public DateTime? rzsj { get; set; }

        [Column(TypeName = "date")]
        [Display(Name = "离职时间")]
        public DateTime? lzsj { get; set; }

        [Column(TypeName = "date")]
        public DateTime? zhgx { get; set; }

        public bool? isky { get; set; }

        public int? teamtype { get; set; }

        public bool? sign { get; set; }

        [StringLength(50)]
        [Display(Name = "身份证")]
        public string sfz { get; set; }

        [StringLength(50)]
        public string cardno { get; set; }



        [Display(Name = "班车")]
        public int? car { get; set; }

        [Display(Name = "状态")]
        public bool? isphoto { get; set; }


        [Display(Name = "保险")]
        public bool? isbx { get; set; }

        [Display(Name = "状态")]
        public bool? islz { get; set; }



        [Display(Name = "宿舍")]
        public int? Dormitory { get; set; }


    }
}
